<!DOCTYPE html>
<html>
<head>
<title>合同信息操作记录</title>
#parse("sys/header.html")
</head>
<body>
<div id="rrapp" v-cloak>
	<div v-show="showList">
		<div class="grid-btn">
			#if($shiro.hasPermission("contractoperationlog:save"))
            <button class="layui-btn" @click="add" type="button"><i class="layui-icon">&#xe61f;</i> 新 增</button>
			#end
			#if($shiro.hasPermission("contractoperationlog:update"))
            <button class="layui-btn layui-btn-normal" type="button" @click="update"><i class="layui-icon">&#xe642;</i>编辑</button>
			#end
			#if($shiro.hasPermission("contractoperationlog:delete"))
            <button class="layui-btn layui-btn-danger" type="button" @click="del"><i class="layui-icon">&#xe640;</i>删除</button>
			#end
		</div>
	    <table id="jqGrid"></table>
	    <div id="jqGridPager"></div>
    </div>
    
    <div v-show="!showList" class="panel panel-default">
		<div class="panel-heading">{{title}}</div>
		<form class="form-horizontal">
											<div class="form-group">
			   	<div class="col-sm-2 control-label">创建时间</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.createTime" placeholder="创建时间"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作人</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.operatorName" placeholder="操作人"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作人id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.operatorId" placeholder="操作人id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作平台：支付宝生活号，APP，PC等</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.operationPlatform" placeholder="操作平台：支付宝生活号，APP，PC等"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">合同id</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.contractId" placeholder="合同id"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">合同状态</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.contractStatus" placeholder="合同状态"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">创建、更新、拒绝签约、过期</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.operateType" placeholder="创建、更新、拒绝签约、过期"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作结果，成功、失败、异常</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.operateResult" placeholder="操作结果，成功、失败、异常"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">签约请求失败原因</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.failReason" placeholder="签约请求失败原因"/>
			    </div>
			</div>
									<div class="form-group">
			   	<div class="col-sm-2 control-label">操作IP地址</div>
			   	<div class="col-sm-10">
			      <input type="text" class="form-control" v-model="contractOperationLog.ip" placeholder="操作IP地址"/>
			    </div>
			</div>
							<div class="form-group">
				<div class="col-sm-2 control-label"></div>
                <button class="layui-btn" type="button" @click="saveOrUpdate" >保存</button>
                <button class="layui-btn layui-btn-warm" type="button" @click="reload" style="margin-left: 30px">返回</button>
			</div>
		</form>
	</div>
</div>

<script src="${rc.contextPath}/statics/js/sys/contractoperationlog.js?_${date.systemTime}"></script>
</body>
</html>